<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qt for CoolQ: CoolQ::ServiceModule类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qt for CoolQ
   &#160;<span id="projectnumber">2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>CoolQ</b></li><li class="navelem"><a class="el" href="class_cool_q_1_1_service_module.html">ServiceModule</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="class_cool_q_1_1_service_module-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">CoolQ::ServiceModule类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>服务模块类  
 <a href="class_cool_q_1_1_service_module.html#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a92366efaccbe79f3af33fe167527128e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">Result</a> { <a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128eabbdb25ae07ee4514cc48fb0274564b04">NoError</a> = 0, 
<a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128ea5d30cfa0a6f075d3d78d8e241fcf4af0">Unknown</a> = 1
 }</td></tr>
<tr class="memdesc:a92366efaccbe79f3af33fe167527128e"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_cool_q_1_1_service_module.html" title="服务模块类 ">ServiceModule</a> 执行结果  <a href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">更多...</a><br /></td></tr>
<tr class="separator:a92366efaccbe79f3af33fe167527128e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aa88a20e046ba9bd6381e1ef15ce61ce5"><td class="memItemLeft" align="right" valign="top"><a id="aa88a20e046ba9bd6381e1ef15ce61ce5"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#aa88a20e046ba9bd6381e1ef15ce61ce5">ServiceModule</a> (<a class="el" href="class_cool_q_1_1_service_engine.html">ServiceEngine</a> *parent)</td></tr>
<tr class="memdesc:aa88a20e046ba9bd6381e1ef15ce61ce5"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数 <br /></td></tr>
<tr class="separator:aa88a20e046ba9bd6381e1ef15ce61ce5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b8e1407d4fea8058d1007d04efe1426"><td class="memItemLeft" align="right" valign="top"><a id="a1b8e1407d4fea8058d1007d04efe1426"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a1b8e1407d4fea8058d1007d04efe1426">~ServiceModule</a> ()</td></tr>
<tr class="memdesc:a1b8e1407d4fea8058d1007d04efe1426"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数 <br /></td></tr>
<tr class="separator:a1b8e1407d4fea8058d1007d04efe1426"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c9b9636444089449f58611038b26545"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_service_engine.html">ServiceEngine</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a7c9b9636444089449f58611038b26545">engine</a> () const</td></tr>
<tr class="memdesc:a7c9b9636444089449f58611038b26545"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回所属引擎  <a href="#a7c9b9636444089449f58611038b26545">更多...</a><br /></td></tr>
<tr class="separator:a7c9b9636444089449f58611038b26545"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea6f44c35b7f4eaaffa4bd82da1dc8d0"><td class="memItemLeft" align="right" valign="top"><a id="aea6f44c35b7f4eaaffa4bd82da1dc8d0"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#aea6f44c35b7f4eaaffa4bd82da1dc8d0">initialize</a> () override</td></tr>
<tr class="memdesc:aea6f44c35b7f4eaaffa4bd82da1dc8d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">标准初始化接口 <br /></td></tr>
<tr class="separator:aea6f44c35b7f4eaaffa4bd82da1dc8d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35c63d3e8e5e6fb33ede559b883c21e6"><td class="memItemLeft" align="right" valign="top"><a id="a35c63d3e8e5e6fb33ede559b883c21e6"></a>
qint64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a35c63d3e8e5e6fb33ede559b883c21e6">currentId</a> () const</td></tr>
<tr class="memdesc:a35c63d3e8e5e6fb33ede559b883c21e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回当前号码 <br /></td></tr>
<tr class="separator:a35c63d3e8e5e6fb33ede559b883c21e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac9e68b4fd946c99f805f93e93c85255"><td class="memItemLeft" align="right" valign="top"><a id="aac9e68b4fd946c99f805f93e93c85255"></a>
QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#aac9e68b4fd946c99f805f93e93c85255">basePath</a> () const</td></tr>
<tr class="memdesc:aac9e68b4fd946c99f805f93e93c85255"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回插件路径 <br /></td></tr>
<tr class="separator:aac9e68b4fd946c99f805f93e93c85255"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c287cd40937e0f3767d144416719618"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a2c287cd40937e0f3767d144416719618">appFilePath</a> (const char *srcName) const</td></tr>
<tr class="memdesc:a2c287cd40937e0f3767d144416719618"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回插件目录内的文件  <a href="#a2c287cd40937e0f3767d144416719618">更多...</a><br /></td></tr>
<tr class="separator:a2c287cd40937e0f3767d144416719618"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8e906f9e1f257c46ede089d8bd6b561"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#ac8e906f9e1f257c46ede089d8bd6b561">appFilePath</a> (const QString &amp;name) const</td></tr>
<tr class="memdesc:ac8e906f9e1f257c46ede089d8bd6b561"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回插件目录内的文件  <a href="#ac8e906f9e1f257c46ede089d8bd6b561">更多...</a><br /></td></tr>
<tr class="separator:ac8e906f9e1f257c46ede089d8bd6b561"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e5f379097963659ccd15767a05bdf27"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a3e5f379097963659ccd15767a05bdf27">usrFilePath</a> (const char *srcName) const</td></tr>
<tr class="memdesc:a3e5f379097963659ccd15767a05bdf27"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回插件目录内的文件  <a href="#a3e5f379097963659ccd15767a05bdf27">更多...</a><br /></td></tr>
<tr class="separator:a3e5f379097963659ccd15767a05bdf27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfe3ff9ecb82772c41f3455effeca95f"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#adfe3ff9ecb82772c41f3455effeca95f">usrFilePath</a> (const QString &amp;name) const</td></tr>
<tr class="memdesc:adfe3ff9ecb82772c41f3455effeca95f"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回插件目录内的文件  <a href="#adfe3ff9ecb82772c41f3455effeca95f">更多...</a><br /></td></tr>
<tr class="separator:adfe3ff9ecb82772c41f3455effeca95f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86cd8292fd9f2cc154cfd25e0ecd186f"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a86cd8292fd9f2cc154cfd25e0ecd186f">resFilePath</a> (const char *srcName) const</td></tr>
<tr class="memdesc:a86cd8292fd9f2cc154cfd25e0ecd186f"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回 CoolQ 资源目录内的文件  <a href="#a86cd8292fd9f2cc154cfd25e0ecd186f">更多...</a><br /></td></tr>
<tr class="separator:a86cd8292fd9f2cc154cfd25e0ecd186f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ae275ae00e54f5667372441b1c63214"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a0ae275ae00e54f5667372441b1c63214">resFilePath</a> (const QString &amp;name) const</td></tr>
<tr class="memdesc:a0ae275ae00e54f5667372441b1c63214"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回 CoolQ 资源目录内的文件  <a href="#a0ae275ae00e54f5667372441b1c63214">更多...</a><br /></td></tr>
<tr class="separator:a0ae275ae00e54f5667372441b1c63214"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b05e86d55e706c643dcab8c1719e283"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a2b05e86d55e706c643dcab8c1719e283">imgFilePath</a> (const char *srcName) const</td></tr>
<tr class="memdesc:a2b05e86d55e706c643dcab8c1719e283"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回 CoolQ 图片缓存目录内的文件  <a href="#a2b05e86d55e706c643dcab8c1719e283">更多...</a><br /></td></tr>
<tr class="separator:a2b05e86d55e706c643dcab8c1719e283"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33567551708f1323725fb1cf7fe63eed"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a33567551708f1323725fb1cf7fe63eed">imgFilePath</a> (const QString &amp;name) const</td></tr>
<tr class="memdesc:a33567551708f1323725fb1cf7fe63eed"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回 CoolQ 图片缓存目录内的文件  <a href="#a33567551708f1323725fb1cf7fe63eed">更多...</a><br /></td></tr>
<tr class="separator:a33567551708f1323725fb1cf7fe63eed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fa3a6ce2f758aa7bb8fb5014ff1ce36"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a0fa3a6ce2f758aa7bb8fb5014ff1ce36">privateMessageEvent</a> (const <a class="el" href="struct_cool_q_1_1_message_event.html">MessageEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:a0fa3a6ce2f758aa7bb8fb5014ff1ce36"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理个人消息事件的过滤器  <a href="#a0fa3a6ce2f758aa7bb8fb5014ff1ce36">更多...</a><br /></td></tr>
<tr class="separator:a0fa3a6ce2f758aa7bb8fb5014ff1ce36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf9f9ec43775c52e4d6e5ef94627808a"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#abf9f9ec43775c52e4d6e5ef94627808a">groupMessageEvent</a> (const <a class="el" href="struct_cool_q_1_1_message_event.html">MessageEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:abf9f9ec43775c52e4d6e5ef94627808a"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理群组消息事件的过滤器  <a href="#abf9f9ec43775c52e4d6e5ef94627808a">更多...</a><br /></td></tr>
<tr class="separator:abf9f9ec43775c52e4d6e5ef94627808a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab74a6b3915491af8f2d1e4d60fbdc366"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#ab74a6b3915491af8f2d1e4d60fbdc366">discussMessageEvent</a> (const <a class="el" href="struct_cool_q_1_1_message_event.html">MessageEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:ab74a6b3915491af8f2d1e4d60fbdc366"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理会话消息事件的过滤器  <a href="#ab74a6b3915491af8f2d1e4d60fbdc366">更多...</a><br /></td></tr>
<tr class="separator:ab74a6b3915491af8f2d1e4d60fbdc366"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad438e87132da86b16c03e4ea260ffb66"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#ad438e87132da86b16c03e4ea260ffb66">masterChangeEvent</a> (const <a class="el" href="struct_cool_q_1_1_master_change_event.html">MasterChangeEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:ad438e87132da86b16c03e4ea260ffb66"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理管理变更事件的过滤器  <a href="#ad438e87132da86b16c03e4ea260ffb66">更多...</a><br /></td></tr>
<tr class="separator:ad438e87132da86b16c03e4ea260ffb66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1f591416a0e8361b9e157e0da159dfc"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#ab1f591416a0e8361b9e157e0da159dfc">friendRequestEvent</a> (const <a class="el" href="struct_cool_q_1_1_friend_request_event.html">FriendRequestEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:ab1f591416a0e8361b9e157e0da159dfc"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理好友请求事件的过滤器  <a href="#ab1f591416a0e8361b9e157e0da159dfc">更多...</a><br /></td></tr>
<tr class="separator:ab1f591416a0e8361b9e157e0da159dfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf1c45e46f7cb95c391991b9ded3ac34"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#abf1c45e46f7cb95c391991b9ded3ac34">groupRequestEvent</a> (const <a class="el" href="struct_cool_q_1_1_group_request_event.html">GroupRequestEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:abf1c45e46f7cb95c391991b9ded3ac34"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理群组请求事件的过滤器  <a href="#abf1c45e46f7cb95c391991b9ded3ac34">更多...</a><br /></td></tr>
<tr class="separator:abf1c45e46f7cb95c391991b9ded3ac34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2f31e9680fd092dafdd50d29c0e45eb"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#ab2f31e9680fd092dafdd50d29c0e45eb">friendAddEvent</a> (const <a class="el" href="struct_cool_q_1_1_friend_add_event.html">FriendAddEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:ab2f31e9680fd092dafdd50d29c0e45eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理好友添加事件的过滤器  <a href="#ab2f31e9680fd092dafdd50d29c0e45eb">更多...</a><br /></td></tr>
<tr class="separator:ab2f31e9680fd092dafdd50d29c0e45eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90e0dfd7a06270b7528c34b1cbdde1c1"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a90e0dfd7a06270b7528c34b1cbdde1c1">memberJoinEvent</a> (const <a class="el" href="struct_cool_q_1_1_member_join_event.html">MemberJoinEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:a90e0dfd7a06270b7528c34b1cbdde1c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理成员加入事件的过滤器  <a href="#a90e0dfd7a06270b7528c34b1cbdde1c1">更多...</a><br /></td></tr>
<tr class="separator:a90e0dfd7a06270b7528c34b1cbdde1c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac35ac300319af0513d56c81ff7a3f670"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#ac35ac300319af0513d56c81ff7a3f670">memberLeaveEvent</a> (const <a class="el" href="struct_cool_q_1_1_member_leave_event.html">MemberLeaveEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:ac35ac300319af0513d56c81ff7a3f670"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理成员离开事件的过滤器  <a href="#ac35ac300319af0513d56c81ff7a3f670">更多...</a><br /></td></tr>
<tr class="separator:ac35ac300319af0513d56c81ff7a3f670"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35b49f949b6c3d1d1ac3723634542c08"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a35b49f949b6c3d1d1ac3723634542c08">sendPrivateMessage</a> (qint64 uid, const char *gbkMsg) const</td></tr>
<tr class="memdesc:a35b49f949b6c3d1d1ac3723634542c08"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送个人消息  <a href="#a35b49f949b6c3d1d1ac3723634542c08">更多...</a><br /></td></tr>
<tr class="separator:a35b49f949b6c3d1d1ac3723634542c08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b64f6af5a173510df3c94496fe448a6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a8b64f6af5a173510df3c94496fe448a6">sendGroupMessage</a> (qint64 gid, const char *gbkMsg) const</td></tr>
<tr class="memdesc:a8b64f6af5a173510df3c94496fe448a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送群组消息  <a href="#a8b64f6af5a173510df3c94496fe448a6">更多...</a><br /></td></tr>
<tr class="separator:a8b64f6af5a173510df3c94496fe448a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af467e443d2ac4aaa463f62a337448643"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#af467e443d2ac4aaa463f62a337448643">sendDiscussMessage</a> (qint64 did, const char *gbkMsg) const</td></tr>
<tr class="memdesc:af467e443d2ac4aaa463f62a337448643"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送会话消息  <a href="#af467e443d2ac4aaa463f62a337448643">更多...</a><br /></td></tr>
<tr class="separator:af467e443d2ac4aaa463f62a337448643"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f4c1b32cc088a4ed6207122a070ff96"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a4f4c1b32cc088a4ed6207122a070ff96">sendPrivateMessage</a> (qint64 uid, const QString &amp;msg) const</td></tr>
<tr class="memdesc:a4f4c1b32cc088a4ed6207122a070ff96"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送个人消息  <a href="#a4f4c1b32cc088a4ed6207122a070ff96">更多...</a><br /></td></tr>
<tr class="separator:a4f4c1b32cc088a4ed6207122a070ff96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ecbbbaafa22608c7172fc2d8716a12a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a3ecbbbaafa22608c7172fc2d8716a12a">sendGroupMessage</a> (qint64 gid, const QString &amp;msg) const</td></tr>
<tr class="memdesc:a3ecbbbaafa22608c7172fc2d8716a12a"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送群组消息  <a href="#a3ecbbbaafa22608c7172fc2d8716a12a">更多...</a><br /></td></tr>
<tr class="separator:a3ecbbbaafa22608c7172fc2d8716a12a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6fca00a0a312ec5cde65cdf7ba8095e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#ae6fca00a0a312ec5cde65cdf7ba8095e">sendDiscussMessage</a> (qint64 did, const QString &amp;msg) const</td></tr>
<tr class="memdesc:ae6fca00a0a312ec5cde65cdf7ba8095e"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送会话消息  <a href="#ae6fca00a0a312ec5cde65cdf7ba8095e">更多...</a><br /></td></tr>
<tr class="separator:ae6fca00a0a312ec5cde65cdf7ba8095e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88887589e2713e0c10766f6d38c74d73"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a88887589e2713e0c10766f6d38c74d73">banGroupMember</a> (qint64 gid, qint64 uid, int duration)</td></tr>
<tr class="memdesc:a88887589e2713e0c10766f6d38c74d73"><td class="mdescLeft">&#160;</td><td class="mdescRight">禁言群组成员  <a href="#a88887589e2713e0c10766f6d38c74d73">更多...</a><br /></td></tr>
<tr class="separator:a88887589e2713e0c10766f6d38c74d73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a243aae595a758cf9bf88175e2d2ece93"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a243aae595a758cf9bf88175e2d2ece93">kickGroupMember</a> (qint64 gid, qint64 uid, bool lasting)</td></tr>
<tr class="memdesc:a243aae595a758cf9bf88175e2d2ece93"><td class="mdescLeft">&#160;</td><td class="mdescRight">踢出群组成员  <a href="#a243aae595a758cf9bf88175e2d2ece93">更多...</a><br /></td></tr>
<tr class="separator:a243aae595a758cf9bf88175e2d2ece93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a763d0a11a522f642f24c69e43e7cdaf3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a763d0a11a522f642f24c69e43e7cdaf3">adminGroupMember</a> (qint64 gid, qint64 uid, bool enabled)</td></tr>
<tr class="memdesc:a763d0a11a522f642f24c69e43e7cdaf3"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置群组管理  <a href="#a763d0a11a522f642f24c69e43e7cdaf3">更多...</a><br /></td></tr>
<tr class="separator:a763d0a11a522f642f24c69e43e7cdaf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefc55c17cc17edc22c059fcdad0b6902"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#aefc55c17cc17edc22c059fcdad0b6902">renameGroupMember</a> (qint64 gid, qint64 uid, const char *gbkNewNameCard)</td></tr>
<tr class="memdesc:aefc55c17cc17edc22c059fcdad0b6902"><td class="mdescLeft">&#160;</td><td class="mdescRight">修改成员名片  <a href="#aefc55c17cc17edc22c059fcdad0b6902">更多...</a><br /></td></tr>
<tr class="separator:aefc55c17cc17edc22c059fcdad0b6902"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dabf68dd9ec67b00eb945ec1c2c9d35"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a6dabf68dd9ec67b00eb945ec1c2c9d35">renameGroupMember</a> (qint64 gid, qint64 uid, const QString &amp;newNameCard)</td></tr>
<tr class="memdesc:a6dabf68dd9ec67b00eb945ec1c2c9d35"><td class="mdescLeft">&#160;</td><td class="mdescRight">修改成员名片  <a href="#a6dabf68dd9ec67b00eb945ec1c2c9d35">更多...</a><br /></td></tr>
<tr class="separator:a6dabf68dd9ec67b00eb945ec1c2c9d35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac20ad9cfa3efaecc510ea04175faa978"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#ac20ad9cfa3efaecc510ea04175faa978">acceptRequest</a> (const char *gbkTag)</td></tr>
<tr class="memdesc:ac20ad9cfa3efaecc510ea04175faa978"><td class="mdescLeft">&#160;</td><td class="mdescRight">接受好友添加请求  <a href="#ac20ad9cfa3efaecc510ea04175faa978">更多...</a><br /></td></tr>
<tr class="separator:ac20ad9cfa3efaecc510ea04175faa978"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94f3772b898813f2e19b54bebb3ad475"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a94f3772b898813f2e19b54bebb3ad475">rejectRequest</a> (const char *gbkTag)</td></tr>
<tr class="memdesc:a94f3772b898813f2e19b54bebb3ad475"><td class="mdescLeft">&#160;</td><td class="mdescRight">拒绝好友添加请求  <a href="#a94f3772b898813f2e19b54bebb3ad475">更多...</a><br /></td></tr>
<tr class="separator:a94f3772b898813f2e19b54bebb3ad475"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a290501138a7cff2fb31d089d195985dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a290501138a7cff2fb31d089d195985dc">acceptRequest</a> (qint32 type, const char *gbkTag)</td></tr>
<tr class="memdesc:a290501138a7cff2fb31d089d195985dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">接受成员添加请求  <a href="#a290501138a7cff2fb31d089d195985dc">更多...</a><br /></td></tr>
<tr class="separator:a290501138a7cff2fb31d089d195985dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8435cac0d344a5780905257f3e8b40a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#af8435cac0d344a5780905257f3e8b40a">rejectRequest</a> (qint32 type, const char *gbkTag)</td></tr>
<tr class="memdesc:af8435cac0d344a5780905257f3e8b40a"><td class="mdescLeft">&#160;</td><td class="mdescRight">拒绝成员添加请求  <a href="#af8435cac0d344a5780905257f3e8b40a">更多...</a><br /></td></tr>
<tr class="separator:af8435cac0d344a5780905257f3e8b40a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b37fce1339200b49a91b0ce01216808"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a4b37fce1339200b49a91b0ce01216808">leaveGroup</a> (qint64 gid)</td></tr>
<tr class="memdesc:a4b37fce1339200b49a91b0ce01216808"><td class="mdescLeft">&#160;</td><td class="mdescRight">退出群组  <a href="#a4b37fce1339200b49a91b0ce01216808">更多...</a><br /></td></tr>
<tr class="separator:a4b37fce1339200b49a91b0ce01216808"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a294dccceb0f48c7e6f3f1a963970cab1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a294dccceb0f48c7e6f3f1a963970cab1">leaveDiscuss</a> (qint64 did)</td></tr>
<tr class="memdesc:a294dccceb0f48c7e6f3f1a963970cab1"><td class="mdescLeft">&#160;</td><td class="mdescRight">退出会话  <a href="#a294dccceb0f48c7e6f3f1a963970cab1">更多...</a><br /></td></tr>
<tr class="separator:a294dccceb0f48c7e6f3f1a963970cab1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb37eebf682419ebe68a1870878accd7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#adb37eebf682419ebe68a1870878accd7">mute</a> (qint64 gid, bool muted)</td></tr>
<tr class="memdesc:adb37eebf682419ebe68a1870878accd7"><td class="mdescLeft">&#160;</td><td class="mdescRight">全员禁言  <a href="#adb37eebf682419ebe68a1870878accd7">更多...</a><br /></td></tr>
<tr class="separator:adb37eebf682419ebe68a1870878accd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac83b87afd98e6a86c4c3dc3090ed05f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_person_info.html">PersonInfo</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#aac83b87afd98e6a86c4c3dc3090ed05f">personInfo</a> (qint64 uid, bool cached=true)</td></tr>
<tr class="memdesc:aac83b87afd98e6a86c4c3dc3090ed05f"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回个人信息  <a href="#aac83b87afd98e6a86c4c3dc3090ed05f">更多...</a><br /></td></tr>
<tr class="separator:aac83b87afd98e6a86c4c3dc3090ed05f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15bf9bea4332c3591bfc8dcc748312e5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cool_q_1_1_member_info.html">MemberInfo</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a15bf9bea4332c3591bfc8dcc748312e5">memberInfo</a> (qint64 gid, qint64 uid, bool cached=true)</td></tr>
<tr class="memdesc:a15bf9bea4332c3591bfc8dcc748312e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回成员信息  <a href="#a15bf9bea4332c3591bfc8dcc748312e5">更多...</a><br /></td></tr>
<tr class="separator:a15bf9bea4332c3591bfc8dcc748312e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae89122a27923d4780ec907e387203252"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#ae89122a27923d4780ec907e387203252">saveImage</a> (const QPixmap &amp;data) const</td></tr>
<tr class="memdesc:ae89122a27923d4780ec907e387203252"><td class="mdescLeft">&#160;</td><td class="mdescRight">保存图片  <a href="#ae89122a27923d4780ec907e387203252">更多...</a><br /></td></tr>
<tr class="separator:ae89122a27923d4780ec907e387203252"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a015b863123e11617b9ffab0e35b24907"><td class="memItemLeft" align="right" valign="top">QPixmap&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a015b863123e11617b9ffab0e35b24907">loadImage</a> (const QString &amp;name) const</td></tr>
<tr class="memdesc:a015b863123e11617b9ffab0e35b24907"><td class="mdescLeft">&#160;</td><td class="mdescRight">载入图片  <a href="#a015b863123e11617b9ffab0e35b24907">更多...</a><br /></td></tr>
<tr class="separator:a015b863123e11617b9ffab0e35b24907"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_cool_q_1_1_interface"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_cool_q_1_1_interface')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_cool_q_1_1_interface.html">CoolQ::Interface</a></td></tr>
<tr class="memitem:a285ff6696f33f6149830be528068fbaa inherit pub_methods_class_cool_q_1_1_interface"><td class="memItemLeft" align="right" valign="top"><a id="a285ff6696f33f6149830be528068fbaa"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_interface.html#a285ff6696f33f6149830be528068fbaa">~Interface</a> ()</td></tr>
<tr class="memdesc:a285ff6696f33f6149830be528068fbaa inherit pub_methods_class_cool_q_1_1_interface"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数 <br /></td></tr>
<tr class="separator:a285ff6696f33f6149830be528068fbaa inherit pub_methods_class_cool_q_1_1_interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:aa39f7ec2a04b09c256e47c341c0662b3"><td class="memItemLeft" align="right" valign="top">static QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#aa39f7ec2a04b09c256e47c341c0662b3">at</a> (qint64 uid)</td></tr>
<tr class="memdesc:aa39f7ec2a04b09c256e47c341c0662b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回 CoolQ 中@他人的字符串  <a href="#aa39f7ec2a04b09c256e47c341c0662b3">更多...</a><br /></td></tr>
<tr class="separator:aa39f7ec2a04b09c256e47c341c0662b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6489495a07ee45b1cc9716bb4d36a0c"><td class="memItemLeft" align="right" valign="top">static QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#ac6489495a07ee45b1cc9716bb4d36a0c">emoji</a> (int emojiCode)</td></tr>
<tr class="memdesc:ac6489495a07ee45b1cc9716bb4d36a0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回 CoolQ 中的 emoji 表情的字符串  <a href="#ac6489495a07ee45b1cc9716bb4d36a0c">更多...</a><br /></td></tr>
<tr class="separator:ac6489495a07ee45b1cc9716bb4d36a0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55bb527dec5a83b3684e7a78cb86934c"><td class="memItemLeft" align="right" valign="top">static QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a55bb527dec5a83b3684e7a78cb86934c">image</a> (const QString &amp;name)</td></tr>
<tr class="memdesc:a55bb527dec5a83b3684e7a78cb86934c"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回 CoolQ 中发送图片的字符串  <a href="#a55bb527dec5a83b3684e7a78cb86934c">更多...</a><br /></td></tr>
<tr class="separator:a55bb527dec5a83b3684e7a78cb86934c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53860c11dd1864f5bb15ec29b715df75"><td class="memItemLeft" align="right" valign="top">static QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a53860c11dd1864f5bb15ec29b715df75">face</a> (int face)</td></tr>
<tr class="memdesc:a53860c11dd1864f5bb15ec29b715df75"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回 CoolQ 中的表情的字符串  <a href="#a53860c11dd1864f5bb15ec29b715df75">更多...</a><br /></td></tr>
<tr class="separator:a53860c11dd1864f5bb15ec29b715df75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4071e546167520df10fca086f03a3d1b"><td class="memItemLeft" align="right" valign="top">static QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a4071e546167520df10fca086f03a3d1b">emojiChar</a> (qint32 value)</td></tr>
<tr class="memdesc:a4071e546167520df10fca086f03a3d1b"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过数值返回 QString 格式的 emoji 表情  <a href="#a4071e546167520df10fca086f03a3d1b">更多...</a><br /></td></tr>
<tr class="separator:a4071e546167520df10fca086f03a3d1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a403c17804f3657c16a12cbdbc257bcca"><td class="memItemLeft" align="right" valign="top"><a id="a403c17804f3657c16a12cbdbc257bcca"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_module.html#a403c17804f3657c16a12cbdbc257bcca">ServiceModule</a> (ServiceModulePrivate &amp;dd, <a class="el" href="class_cool_q_1_1_service_engine.html">ServiceEngine</a> *parent)</td></tr>
<tr class="memdesc:a403c17804f3657c16a12cbdbc257bcca"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数 <br /></td></tr>
<tr class="separator:a403c17804f3657c16a12cbdbc257bcca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_cool_q_1_1_interface"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_cool_q_1_1_interface')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="class_cool_q_1_1_interface.html">CoolQ::Interface</a></td></tr>
<tr class="memitem:af3872b8d3be740401c3540ca99f04df9 inherit pro_methods_class_cool_q_1_1_interface"><td class="memItemLeft" align="right" valign="top"><a id="af3872b8d3be740401c3540ca99f04df9"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_interface.html#af3872b8d3be740401c3540ca99f04df9">Interface</a> (InterfacePrivate &amp;dd, QObject *parent)</td></tr>
<tr class="memdesc:af3872b8d3be740401c3540ca99f04df9 inherit pro_methods_class_cool_q_1_1_interface"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数 <br /></td></tr>
<tr class="separator:af3872b8d3be740401c3540ca99f04df9 inherit pro_methods_class_cool_q_1_1_interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>服务模块类 </p>
</div><div class="dynheader">
类 CoolQ::ServiceModule 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_cool_q_1_1_service_module.png" usemap="#CoolQ::ServiceModule_map" alt=""/>
  <map id="CoolQ::ServiceModule_map" name="CoolQ::ServiceModule_map">
<area href="class_cool_q_1_1_interface.html" title="通用接口类 " alt="CoolQ::Interface" shape="rect" coords="0,0,140,24"/>
</map>
 </div></div>
<h2 class="groupheader">成员枚举类型说明</h2>
<a id="a92366efaccbe79f3af33fe167527128e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92366efaccbe79f3af33fe167527128e">&#9670;&nbsp;</a></span>Result</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">CoolQ::ServiceModule::Result</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="class_cool_q_1_1_service_module.html" title="服务模块类 ">ServiceModule</a> 执行结果 </p>
<p>CoolQ API 密切相关的执行函数都会返回此枚举作为结果表达。 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="a92366efaccbe79f3af33fe167527128eabbdb25ae07ee4514cc48fb0274564b04"></a>NoError&#160;</td><td class="fielddoc"><p>没有错误（成功） </p>
<p>如果函数执行成功，都会返回当前值。 </p>
</td></tr>
<tr><td class="fieldname"><a id="a92366efaccbe79f3af33fe167527128ea5d30cfa0a6f075d3d78d8e241fcf4af0"></a>Unknown&#160;</td><td class="fielddoc"><p>未知错误 </p>
<p>不在当前枚举内的错误值，都会返回 Unknown。 </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="ac20ad9cfa3efaecc510ea04175faa978"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac20ad9cfa3efaecc510ea04175faa978">&#9670;&nbsp;</a></span>acceptRequest() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">ServiceModule::Result</a> CoolQ::ServiceModule::acceptRequest </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>gbkTag</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>接受好友添加请求 </p>
<p>接受添加为好友的请求。需要将 <a class="el" href="struct_cool_q_1_1_friend_request_event.html#abe36c697f60221ce13cd705f3a260c9c" title="请求附带标签 ">FriendRequestEvent::gbkTag</a> 直接传递给 <em>gbkTag。</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e" title="ServiceModule 执行结果 ">ServiceModule::Result</a> </dd></dl>

</div>
</div>
<a id="a290501138a7cff2fb31d089d195985dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a290501138a7cff2fb31d089d195985dc">&#9670;&nbsp;</a></span>acceptRequest() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">ServiceModule::Result</a> CoolQ::ServiceModule::acceptRequest </td>
          <td>(</td>
          <td class="paramtype">qint32&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>gbkTag</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>接受成员添加请求 </p>
<p>接受个人加入群组的请求。需要将 <a class="el" href="struct_cool_q_1_1_group_request_event.html#aa5153b686a7882468928a16f39403e01" title="事件类型 ">GroupRequestEvent::type</a> 直接传递给 <em>type，GroupRequestEvent::gbkTag</em> 直接传递给 <em>gbkTag。</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e" title="ServiceModule 执行结果 ">ServiceModule::Result</a> </dd></dl>

</div>
</div>
<a id="a763d0a11a522f642f24c69e43e7cdaf3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a763d0a11a522f642f24c69e43e7cdaf3">&#9670;&nbsp;</a></span>adminGroupMember()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">ServiceModule::Result</a> CoolQ::ServiceModule::adminGroupMember </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置群组管理 </p>
<p>设置群组 <em>gid</em> 中的管理 <em>uid。<em>enable</em> 为</em> true 表示设置为管理；false 表示回复为成员。 </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e" title="ServiceModule 执行结果 ">ServiceModule::Result</a> </dd></dl>

</div>
</div>
<a id="a2c287cd40937e0f3767d144416719618"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c287cd40937e0f3767d144416719618">&#9670;&nbsp;</a></span>appFilePath() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString CoolQ::ServiceModule::appFilePath </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>srcName</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回插件目录内的文件 </p>
<p>将插件路径与文件名 <em>srcName</em> 合并，返回此文件名的绝对路径。 </p>

</div>
</div>
<a id="ac8e906f9e1f257c46ede089d8bd6b561"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8e906f9e1f257c46ede089d8bd6b561">&#9670;&nbsp;</a></span>appFilePath() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString CoolQ::ServiceModule::appFilePath </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回插件目录内的文件 </p>
<p>将插件路径与文件名 <em>name</em> 合并，返回此文件名的绝对路径。 </p>

</div>
</div>
<a id="aa39f7ec2a04b09c256e47c341c0662b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa39f7ec2a04b09c256e47c341c0662b3">&#9670;&nbsp;</a></span>at()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString CoolQ::ServiceModule::at </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回 CoolQ 中@他人的字符串 </p>
<p>此函数将返回 CoolQ 中@他人的字符串。 </p>

</div>
</div>
<a id="a88887589e2713e0c10766f6d38c74d73"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88887589e2713e0c10766f6d38c74d73">&#9670;&nbsp;</a></span>banGroupMember()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">ServiceModule::Result</a> CoolQ::ServiceModule::banGroupMember </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>duration</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>禁言群组成员 </p>
<p>禁言群组 <em>gid</em> 中的成员 <em>uid。<em>duration</em> 最短</em> 60 秒，最长 30 天；0 表示解除禁言。（单位：秒） </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e" title="ServiceModule 执行结果 ">ServiceModule::Result</a> </dd></dl>

</div>
</div>
<a id="ab74a6b3915491af8f2d1e4d60fbdc366"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab74a6b3915491af8f2d1e4d60fbdc366">&#9670;&nbsp;</a></span>discussMessageEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CoolQ::ServiceModule::discussMessageEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_cool_q_1_1_message_event.html">MessageEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理会话消息事件的过滤器 </p>
<p>默认的事件过滤器什么也不做，只返回 false。 </p><dl class="section return"><dt>返回</dt><dd>true 表示拦截此次事件；false 表示不拦截。 </dd></dl>

</div>
</div>
<a id="ac6489495a07ee45b1cc9716bb4d36a0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6489495a07ee45b1cc9716bb4d36a0c">&#9670;&nbsp;</a></span>emoji()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString CoolQ::ServiceModule::emoji </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>emojiCode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回 CoolQ 中的 emoji 表情的字符串 </p>
<p>此函数将返回 CoolQ 中的 emoji 表情的字符串。 </p>

</div>
</div>
<a id="a4071e546167520df10fca086f03a3d1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4071e546167520df10fca086f03a3d1b">&#9670;&nbsp;</a></span>emojiChar()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString CoolQ::ServiceModule::emojiChar </td>
          <td>(</td>
          <td class="paramtype">qint32&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>通过数值返回 QString 格式的 emoji 表情 </p>
<p>此函数将通过数值返回 QString 格式的 emoji 表情。 </p>

</div>
</div>
<a id="a7c9b9636444089449f58611038b26545"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c9b9636444089449f58611038b26545">&#9670;&nbsp;</a></span>engine()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_engine.html">ServiceEngine</a> * CoolQ::ServiceModule::engine </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回所属引擎 </p>
<p>此函数将返回此模块所属的引擎。 </p>

</div>
</div>
<a id="a53860c11dd1864f5bb15ec29b715df75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53860c11dd1864f5bb15ec29b715df75">&#9670;&nbsp;</a></span>face()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString CoolQ::ServiceModule::face </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>face</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回 CoolQ 中的表情的字符串 </p>
<p>此函数将返回 CoolQ 中的表情的字符串。 </p>

</div>
</div>
<a id="ab2f31e9680fd092dafdd50d29c0e45eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2f31e9680fd092dafdd50d29c0e45eb">&#9670;&nbsp;</a></span>friendAddEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CoolQ::ServiceModule::friendAddEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_cool_q_1_1_friend_add_event.html">FriendAddEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理好友添加事件的过滤器 </p>
<p>默认的事件过滤器什么也不做，只返回 false。 </p><dl class="section return"><dt>返回</dt><dd>true 表示拦截此次事件；false 表示不拦截。 </dd></dl>

</div>
</div>
<a id="ab1f591416a0e8361b9e157e0da159dfc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1f591416a0e8361b9e157e0da159dfc">&#9670;&nbsp;</a></span>friendRequestEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CoolQ::ServiceModule::friendRequestEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_cool_q_1_1_friend_request_event.html">FriendRequestEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理好友请求事件的过滤器 </p>
<p>默认的事件过滤器什么也不做，只返回 false。 </p><dl class="section return"><dt>返回</dt><dd>true 表示拦截此次事件；false 表示不拦截。 </dd></dl>

</div>
</div>
<a id="abf9f9ec43775c52e4d6e5ef94627808a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf9f9ec43775c52e4d6e5ef94627808a">&#9670;&nbsp;</a></span>groupMessageEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CoolQ::ServiceModule::groupMessageEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_cool_q_1_1_message_event.html">MessageEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理群组消息事件的过滤器 </p>
<p>默认的事件过滤器什么也不做，只返回 false。 </p><dl class="section return"><dt>返回</dt><dd>true 表示拦截此次事件；false 表示不拦截。 </dd></dl>

</div>
</div>
<a id="abf1c45e46f7cb95c391991b9ded3ac34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf1c45e46f7cb95c391991b9ded3ac34">&#9670;&nbsp;</a></span>groupRequestEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CoolQ::ServiceModule::groupRequestEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_cool_q_1_1_group_request_event.html">GroupRequestEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理群组请求事件的过滤器 </p>
<p>默认的事件过滤器什么也不做，只返回 false。 </p><dl class="section return"><dt>返回</dt><dd>true 表示拦截此次事件；false 表示不拦截。 </dd></dl>

</div>
</div>
<a id="a55bb527dec5a83b3684e7a78cb86934c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55bb527dec5a83b3684e7a78cb86934c">&#9670;&nbsp;</a></span>image()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString CoolQ::ServiceModule::image </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回 CoolQ 中发送图片的字符串 </p>
<p>此函数将返回发送图片的字符串。此文件需要保存在 CoolQ 待发送图片目录中。 </p><dl class="section see"><dt>参见</dt><dd><a class="el" href="class_cool_q_1_1_service_module.html#a015b863123e11617b9ffab0e35b24907" title="载入图片 ">ServiceModule::loadImage</a> <a class="el" href="class_cool_q_1_1_service_module.html#ae89122a27923d4780ec907e387203252" title="保存图片 ">ServiceModule::saveImage</a> </dd></dl>

</div>
</div>
<a id="a2b05e86d55e706c643dcab8c1719e283"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b05e86d55e706c643dcab8c1719e283">&#9670;&nbsp;</a></span>imgFilePath() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString CoolQ::ServiceModule::imgFilePath </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>srcName</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回 CoolQ 图片缓存目录内的文件 </p>
<p>将 CoolQ 图片缓存目录与文件名 <em>srcName</em> 合并，返回在此缓存目录下的文件名的绝对路径。 </p>

</div>
</div>
<a id="a33567551708f1323725fb1cf7fe63eed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33567551708f1323725fb1cf7fe63eed">&#9670;&nbsp;</a></span>imgFilePath() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString CoolQ::ServiceModule::imgFilePath </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回 CoolQ 图片缓存目录内的文件 </p>
<p>将 CoolQ 图片缓存目录与文件名 <em>name</em> 合并，返回在此缓存目录下的文件名的绝对路径。 </p>

</div>
</div>
<a id="a243aae595a758cf9bf88175e2d2ece93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a243aae595a758cf9bf88175e2d2ece93">&#9670;&nbsp;</a></span>kickGroupMember()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">ServiceModule::Result</a> CoolQ::ServiceModule::kickGroupMember </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>lasting</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>踢出群组成员 </p>
<p>踢出群组 <em>gid</em> 中的成员 <em>uid。<em>lasting</em> 为</em> true 表示永久禁言；false 表示只是踢出，不加入黑名单。 </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e" title="ServiceModule 执行结果 ">ServiceModule::Result</a> </dd></dl>

</div>
</div>
<a id="a294dccceb0f48c7e6f3f1a963970cab1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a294dccceb0f48c7e6f3f1a963970cab1">&#9670;&nbsp;</a></span>leaveDiscuss()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">ServiceModule::Result</a> CoolQ::ServiceModule::leaveDiscuss </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>did</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>退出会话 </p>
<p>这个帐号将退出会话 <em>did，注意安全！</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e" title="ServiceModule 执行结果 ">ServiceModule::Result</a> </dd></dl>

</div>
</div>
<a id="a4b37fce1339200b49a91b0ce01216808"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b37fce1339200b49a91b0ce01216808">&#9670;&nbsp;</a></span>leaveGroup()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">ServiceModule::Result</a> CoolQ::ServiceModule::leaveGroup </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>退出群组 </p>
<p>这个帐号将退出群组 <em>gid，注意安全！</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e" title="ServiceModule 执行结果 ">ServiceModule::Result</a> </dd></dl>

</div>
</div>
<a id="a015b863123e11617b9ffab0e35b24907"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a015b863123e11617b9ffab0e35b24907">&#9670;&nbsp;</a></span>loadImage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QPixmap CoolQ::ServiceModule::loadImage </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>载入图片 </p>
<p>将载入 CoolQ 待发送图片目录内文件名为 <em>name</em> 的图片，如果成功，返回此图片对象。 </p>

</div>
</div>
<a id="ad438e87132da86b16c03e4ea260ffb66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad438e87132da86b16c03e4ea260ffb66">&#9670;&nbsp;</a></span>masterChangeEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CoolQ::ServiceModule::masterChangeEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_cool_q_1_1_master_change_event.html">MasterChangeEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理管理变更事件的过滤器 </p>
<p>默认的事件过滤器什么也不做，只返回 false。 </p><dl class="section return"><dt>返回</dt><dd>true 表示拦截此次事件；false 表示不拦截。 </dd></dl>

</div>
</div>
<a id="a15bf9bea4332c3591bfc8dcc748312e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15bf9bea4332c3591bfc8dcc748312e5">&#9670;&nbsp;</a></span>memberInfo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_member_info.html">MemberInfo</a> CoolQ::ServiceModule::memberInfo </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>cached</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回成员信息 </p>
<p>此方法会返回在群组 <em>gid</em> 中的成员 <em>uid</em> 的成员信息，默认会使用缓存数据。如果不想使用缓存，可以设置 <em>cache</em> 为 false，此时将同步获取成员信息。 </p><dl class="section return"><dt>返回</dt><dd>获取到的信息是否有效，可以通过返回对象的 CqMemberInfo::isValid() 函数进行验证。 </dd></dl>

</div>
</div>
<a id="a90e0dfd7a06270b7528c34b1cbdde1c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90e0dfd7a06270b7528c34b1cbdde1c1">&#9670;&nbsp;</a></span>memberJoinEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CoolQ::ServiceModule::memberJoinEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_cool_q_1_1_member_join_event.html">MemberJoinEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理成员加入事件的过滤器 </p>
<p>默认的事件过滤器什么也不做，只返回 false。 </p><dl class="section return"><dt>返回</dt><dd>true 表示拦截此次事件；false 表示不拦截。 </dd></dl>

</div>
</div>
<a id="ac35ac300319af0513d56c81ff7a3f670"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac35ac300319af0513d56c81ff7a3f670">&#9670;&nbsp;</a></span>memberLeaveEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CoolQ::ServiceModule::memberLeaveEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_cool_q_1_1_member_leave_event.html">MemberLeaveEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理成员离开事件的过滤器 </p>
<p>默认的事件过滤器什么也不做，只返回 false。 </p><dl class="section return"><dt>返回</dt><dd>true 表示拦截此次事件；false 表示不拦截。 </dd></dl>

</div>
</div>
<a id="adb37eebf682419ebe68a1870878accd7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb37eebf682419ebe68a1870878accd7">&#9670;&nbsp;</a></span>mute()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">ServiceModule::Result</a> CoolQ::ServiceModule::mute </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>muted</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>全员禁言 </p>
<p>是否开启群组的全员禁言。<em>muted</em> 为 true 表示开启；否则表示关闭。 </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e" title="ServiceModule 执行结果 ">ServiceModule::Result</a> </dd></dl>

</div>
</div>
<a id="aac83b87afd98e6a86c4c3dc3090ed05f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac83b87afd98e6a86c4c3dc3090ed05f">&#9670;&nbsp;</a></span>personInfo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_person_info.html">PersonInfo</a> CoolQ::ServiceModule::personInfo </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>cached</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回个人信息 </p>
<p>此方法会返回个人 <em>uid</em> 的个人信息，默认会使用缓存数据。如果不想使用缓存，可以设置 <em>cache</em> 为 false，此时将同步获取个人信息。 </p><dl class="section return"><dt>返回</dt><dd>获取到的信息是否有效，可以通过返回对象的 CqPersonInfo::isValid() 函数进行验证。 </dd></dl>

</div>
</div>
<a id="a0fa3a6ce2f758aa7bb8fb5014ff1ce36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0fa3a6ce2f758aa7bb8fb5014ff1ce36">&#9670;&nbsp;</a></span>privateMessageEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CoolQ::ServiceModule::privateMessageEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_cool_q_1_1_message_event.html">MessageEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理个人消息事件的过滤器 </p>
<p>默认的事件过滤器什么也不做，只返回 false。 </p><dl class="section return"><dt>返回</dt><dd>true 表示拦截此次事件；false 表示不拦截。 </dd></dl>

</div>
</div>
<a id="a94f3772b898813f2e19b54bebb3ad475"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94f3772b898813f2e19b54bebb3ad475">&#9670;&nbsp;</a></span>rejectRequest() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">ServiceModule::Result</a> CoolQ::ServiceModule::rejectRequest </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>gbkTag</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>拒绝好友添加请求 </p>
<p>拒绝添加为好友的请求。需要将 <a class="el" href="struct_cool_q_1_1_friend_request_event.html#abe36c697f60221ce13cd705f3a260c9c" title="请求附带标签 ">FriendRequestEvent::gbkTag</a> 直接传递给 <em>gbkTag。</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e" title="ServiceModule 执行结果 ">ServiceModule::Result</a> </dd></dl>

</div>
</div>
<a id="af8435cac0d344a5780905257f3e8b40a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8435cac0d344a5780905257f3e8b40a">&#9670;&nbsp;</a></span>rejectRequest() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">ServiceModule::Result</a> CoolQ::ServiceModule::rejectRequest </td>
          <td>(</td>
          <td class="paramtype">qint32&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>gbkTag</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>拒绝成员添加请求 </p>
<p>拒绝个人加入群组的请求。需要将 <a class="el" href="struct_cool_q_1_1_group_request_event.html#aa5153b686a7882468928a16f39403e01" title="事件类型 ">GroupRequestEvent::type</a> 直接传递给 <em>type，GroupRequestEvent::gbkTag</em> 直接传递给 <em>gbkTag。</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e" title="ServiceModule 执行结果 ">ServiceModule::Result</a> </dd></dl>

</div>
</div>
<a id="aefc55c17cc17edc22c059fcdad0b6902"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aefc55c17cc17edc22c059fcdad0b6902">&#9670;&nbsp;</a></span>renameGroupMember() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">ServiceModule::Result</a> CoolQ::ServiceModule::renameGroupMember </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>gbkNewNameCard</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>修改成员名片 </p>
<p>设置群组 <em>gid</em> 中的成员 <em>uid</em> 新的名片 <em>gbkNewNameCard。</em> </p><dl class="section note"><dt>注解</dt><dd>gbkNewNameCard 是指使用 GBK 编码的文本，而本项目源代码是 UTF-8 编码的。 </dd></dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e" title="ServiceModule 执行结果 ">ServiceModule::Result</a> </dd></dl>

</div>
</div>
<a id="a6dabf68dd9ec67b00eb945ec1c2c9d35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6dabf68dd9ec67b00eb945ec1c2c9d35">&#9670;&nbsp;</a></span>renameGroupMember() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">ServiceModule::Result</a> CoolQ::ServiceModule::renameGroupMember </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>newNameCard</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>修改成员名片 </p>
<p>设置群组 <em>gid</em> 中的成员 <em>uid</em> 新的名片 <em>newNameCard</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e" title="ServiceModule 执行结果 ">ServiceModule::Result</a> </dd></dl>

</div>
</div>
<a id="a86cd8292fd9f2cc154cfd25e0ecd186f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86cd8292fd9f2cc154cfd25e0ecd186f">&#9670;&nbsp;</a></span>resFilePath() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString CoolQ::ServiceModule::resFilePath </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>srcName</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回 CoolQ 资源目录内的文件 </p>
<p>将 CoolQ 资源目录与文件名 <em>srcName</em> 合并，返回在此资源目录下的文件名的绝对路径。 </p>

</div>
</div>
<a id="a0ae275ae00e54f5667372441b1c63214"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ae275ae00e54f5667372441b1c63214">&#9670;&nbsp;</a></span>resFilePath() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString CoolQ::ServiceModule::resFilePath </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回 CoolQ 资源目录内的文件 </p>
<p>将 CoolQ 资源目录与文件名 <em>name</em> 合并，返回在此资源目录下的文件名的绝对路径。 </p>

</div>
</div>
<a id="ae89122a27923d4780ec907e387203252"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae89122a27923d4780ec907e387203252">&#9670;&nbsp;</a></span>saveImage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString CoolQ::ServiceModule::saveImage </td>
          <td>(</td>
          <td class="paramtype">const QPixmap &amp;&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>保存图片 </p>
<p>将图片 <em>data</em> 保存到 CoolQ 待发送图片目录。如果成功，返回自动生成的文件名。 </p>

</div>
</div>
<a id="af467e443d2ac4aaa463f62a337448643"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af467e443d2ac4aaa463f62a337448643">&#9670;&nbsp;</a></span>sendDiscussMessage() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">ServiceModule::Result</a> CoolQ::ServiceModule::sendDiscussMessage </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>did</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>gbkMsg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送会话消息 </p>
<p>向会话 <em>did</em> 发送消息 <em>gbkMsg。</em> </p><dl class="section note"><dt>注解</dt><dd>gbkMsg 是指使用 GBK 编码的文本，而本项目源代码是 UTF-8 编码的。 </dd></dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e" title="ServiceModule 执行结果 ">ServiceModule::Result</a> </dd></dl>

</div>
</div>
<a id="ae6fca00a0a312ec5cde65cdf7ba8095e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6fca00a0a312ec5cde65cdf7ba8095e">&#9670;&nbsp;</a></span>sendDiscussMessage() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">ServiceModule::Result</a> CoolQ::ServiceModule::sendDiscussMessage </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>did</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>msg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送会话消息 </p>
<p>向会话 <em>did</em> 发送消息 <em>gbkMsg。</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e" title="ServiceModule 执行结果 ">ServiceModule::Result</a> </dd></dl>

</div>
</div>
<a id="a8b64f6af5a173510df3c94496fe448a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b64f6af5a173510df3c94496fe448a6">&#9670;&nbsp;</a></span>sendGroupMessage() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">ServiceModule::Result</a> CoolQ::ServiceModule::sendGroupMessage </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>gbkMsg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送群组消息 </p>
<p>向群组 <em>gid</em> 发送消息 <em>gbkMsg。</em> </p><dl class="section note"><dt>注解</dt><dd>gbkMsg 是指使用 GBK 编码的文本，而本项目源代码是 UTF-8 编码的。 </dd></dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e" title="ServiceModule 执行结果 ">ServiceModule::Result</a> </dd></dl>

</div>
</div>
<a id="a3ecbbbaafa22608c7172fc2d8716a12a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ecbbbaafa22608c7172fc2d8716a12a">&#9670;&nbsp;</a></span>sendGroupMessage() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">ServiceModule::Result</a> CoolQ::ServiceModule::sendGroupMessage </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>msg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送群组消息 </p>
<p>向群组 <em>gid</em> 发送消息 <em>gbkMsg。</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e" title="ServiceModule 执行结果 ">ServiceModule::Result</a> </dd></dl>

</div>
</div>
<a id="a35b49f949b6c3d1d1ac3723634542c08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35b49f949b6c3d1d1ac3723634542c08">&#9670;&nbsp;</a></span>sendPrivateMessage() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">ServiceModule::Result</a> CoolQ::ServiceModule::sendPrivateMessage </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>gbkMsg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送个人消息 </p>
<p>向个人 <em>uid</em> 发送消息 <em>gbkMsg。</em> </p><dl class="section note"><dt>注解</dt><dd>gbkMsg 是指使用 GBK 编码的文本，而本项目源代码是 UTF-8 编码的。 </dd></dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e" title="ServiceModule 执行结果 ">ServiceModule::Result</a> </dd></dl>

</div>
</div>
<a id="a4f4c1b32cc088a4ed6207122a070ff96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f4c1b32cc088a4ed6207122a070ff96">&#9670;&nbsp;</a></span>sendPrivateMessage() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e">ServiceModule::Result</a> CoolQ::ServiceModule::sendPrivateMessage </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>msg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送个人消息 </p>
<p>向个人 <em>uid</em> 发送消息 <em>gbkMsg。</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cool_q_1_1_service_module.html#a92366efaccbe79f3af33fe167527128e" title="ServiceModule 执行结果 ">ServiceModule::Result</a> </dd></dl>

</div>
</div>
<a id="a3e5f379097963659ccd15767a05bdf27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e5f379097963659ccd15767a05bdf27">&#9670;&nbsp;</a></span>usrFilePath() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString CoolQ::ServiceModule::usrFilePath </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>srcName</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回插件目录内的文件 </p>
<p>将插件路径与当前号码，文件名 <em>srcName</em> 合并，返回在此号码下的文件名的绝对路径。 </p>

</div>
</div>
<a id="adfe3ff9ecb82772c41f3455effeca95f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adfe3ff9ecb82772c41f3455effeca95f">&#9670;&nbsp;</a></span>usrFilePath() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString CoolQ::ServiceModule::usrFilePath </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回插件目录内的文件 </p>
<p>将插件路径与当前号码，文件名 <em>name</em> 合并，返回在此号码下的文件名的绝对路径。 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>C:/Users/echow/Documents/GitHub/qtassistant/CoolQPortal/<a class="el" href="_cool_q_service_module_8h_source.html">CoolQServiceModule.h</a></li>
<li>C:/Users/echow/Documents/GitHub/qtassistant/CoolQPortal/CoolQServiceModule.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
